{extend name="base"}
{block name="title"}后台管理-用户管理{/block}
{block name="main-title"}userlist{/block}
{block name="main"}
<!-- <link rel="shortcut icon" href="index.php?img=favicon" type="image/ico" /> -->
<div class="widget-header">
  <i class="icon-group"></i>
  <h5>用户</h5>
  <div class="widget-buttons">
    <a href="#" data-title="Add Employee" data-toggle="modal" data-target="#example_modal"><i class="icon-plus"></i></a>
    <a href="#" data-title="Collapse" data-collapsed="false" class="collapse"><i class="icon-chevron-up"></i></a>
  </div>

</div>
<div class="widget-body">
  <table id="users" class="table table-striped table-bordered dataTable">
    <thead>
      <tr>
        <th>区域</th>
        <th>保修地点</th>
        <th>保修内容</th>
        <th>姓名</th>
        <th>电话</th>
        <th>预约维修时间</th>
        <th>报修时间</th>
        <th>状态</th>
        <th>操作</th>
      </tr>
    </thead>
    <tbody>
      {volist name="nets" id="vo"}
      <tr>
          <td>{$vo.area}{$vo.building}</td>
          <td>{$vo.dortext}</td>
          <td><div calsss="line-limit-length">{$vo.content}</div></td>
          <td>{$vo.name}</td>
          <td>{$vo.tele}</td>
          <td>{$vo.domtime}</td>
          <td>{$vo.addtime}</td>
          {if condition="$vo.status eq 0"}
          <td>未完成</td>{/if}
          {if condition="$vo.status eq 1"}
          <td>完成</td>{/if}
          <td>
            <div class="btn-group">
              <a class="btn btn-small dropdown-toggle" data-toggle="dropdown" href="#">
              Action
                <span class="caret"></span>
              </a>
              <ul class="dropdown-menu pull-right">
                <!-- <li><a href="#"><i class="icon-wrench"></i> 重置密码</a></li> -->
                <li><a href="{:url('info/mark',['id'=>$vo.id])}"><i class="icon-envelope"></i>标记完成</a></li>
                <li><a href="{:url('info/forward',['id'=>$vo.id])}"><i class="icon-edit"></i> 转发</a></li>
                <li><a href="{:url('info/del',['id'=>$vo.id])}"><i class="icon-trash"></i> 删除</a></li>
              </ul>
            </div>
          </td>
      </tr>
      {/volist}
    </tbody>
  </table>
</div> <!-- /widget-body -->
{/block}